<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>编辑管理员</title>
	<hdjs />
	
	<css file='__PUBLIC__/Css/mod.base.css' />
</head>
<body>

    	<div class="hd-menu-list">
			<ul>
				<li>
					<a href="{:U('Admin/index')}" >
						管理员列表
					</a>
				</li>
				<li class="active">
					<a href="javascript:;" >
						编辑管理员
					</a>
				</li>
				
			</ul>
		</div>
		<form action="" method="post" class="hd-form">
			<table class="hd-table hd-table-form hd-form">
	            <tr>
	                <th class="hd-w100">管理员名称</th>
	                <td>
	              		{$field.username}
	                </td>
	            </tr>
	            <tr>
	                <th >昵称</th>
	                <td>
	              		<input type="text" name="nickname" class="hd-w200" value="{$field.nickname}" />
	                </td>
	            </tr>
				<tr>
	                <th >邮箱</th>
	                <td>
	              		<input type="text" name="email" class="hd-w200" value="{$field.email}" />
	                </td>
	            </tr>
	            <tr>
	                <th >密码</th>
	                <td>
	               	<input type="password" name="password" class="hd-w200"/>
	                </td>
	            </tr>
	           <tr>
	                <th >确认密码</th>
	                <td>
	               	<input type="password" name="passwords" class="hd-w200"/>
	                </td>
	            </tr>
	            <tr>
	                <th >状态</th>
	                <td>
	              	<label>
	               		<input type="radio"  value="0" name="lock" <if condition="!$field['lock']">checked="checked"</if>/> 正常
	               	</label>
	               	<label>
	               		<input type="radio"  value="1" name="lock" <if condition="$field['lock']">checked="checked"</if>/> 锁定
	               	</label>
	                </td>
	            </tr>
	           
        	</table>
			<div class="hd-position-bottom">
				<input type="hidden" name="uid" value="{$field.uid}" />
				<input type="hidden" name="username" value="{$field.username}" />
            	<input type="submit" class="hd-btn-primary hd-btn" value="编辑"/>
        	</div>
		</form>

</body>
</html>